.flw-switch-checkbox {
  height: 0;
  width: 0;
  visibility: hidden;
}

.flw-switch-label {
  margin: 20px 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 50px;
  height: 25px;
  background: #2F4562;
  border-radius: 100px;
  position: relative;
  transition: background-color .2s;
  .flw-switch-button {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 45px;
    transition: 0.2s;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
  }
}

.flw-switch-checkbox:checked + .flw-switch-label{
  background: #dedede;
  .flw-switch-button {
    left: calc(100% - 2px);
    transform: translateX(-100%);
  }
} 